package cc.mrbird.febs.business.service;

import cc.mrbird.febs.business.domain.Store;
import cc.mrbird.febs.common.domain.QueryRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface StoreService extends IService<Store> {

    IPage<Store> findStores(Store role, QueryRequest request);

    Store findByName(String roleName);

    void createStore(Store role);

    void deleteStores(String[] roleIds) throws Exception;

    void updateStore(Store role) throws Exception;
}
